package com.t.bricks.bussiness.db.entity.userphoneinfo;

import com.t.bricks.bussiness.db.entity.userphoneinfo.base.UserPhoneInfoBase;

/**
 * 用户手机信息'UserPhoneInfo'表扩展实体类
 * 注意:可根据需要创建不同的多个扩展实体类,而不是把所有的扩展属性都集中到一个类中
 * @author HuangXinBian
 */
public class UserPhoneInfo extends UserPhoneInfoBase {
	
	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 复制对象
	 * @param source 数据源
	 * @return UserPhoneInfo
	 */
	public static UserPhoneInfo copy(UserPhoneInfo source) {
		if (null == source) {
			return null;
		}
		
		UserPhoneInfo target = new UserPhoneInfo();
		target.setsUserId(source.getsUserId());
		target.setsCid(source.getsCid());
		target.setsPhoneBrand(source.getsPhoneBrand());
		target.setsPhoneModel(source.getsPhoneModel());

		return target;
	}
	
	/**
	 * 克隆对象
	 * @return UserPhoneInfo
	 */
	@Override
	public UserPhoneInfo clone() {
		return copy(this);
	}
	
}
